package com.qd.hik.dto.invoice;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 〈一句话功能简述〉<br> 
 *
 * @author sjk
 * @create 2024-05-29 16:17
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
public class HkInvoiceDetailReq {
    /**
     * 开票账户
     */
    @NotNull(message = "开票账户不能为空")
    private Integer groupId;
    /**
     * 开票申请id
     */
    @NotNull(message = "开票申请ID不能为空")
    private Integer invoiceId;
    /**
     * 驾驶人id
     */
    @NotNull(message = "驾驶人ID不能为空")
    private Integer driverId;

    public void freeData() {
        this.groupId = null;
        this.invoiceId = null;
        this.driverId = null;
    }
}